<?php

/*
|--------------------------------------------------------------------------
| 活动路由
|--------------------------------------------------------------------------
|
*/
$router->post('tag', "IndexController@tag");//检测用户是否选择分类
$router->post('add_tag', "IndexController@add_tag");//用户选择分类
//帖子
$router->post('index', "IndexController@index");//热门贴
$router->get('topic', "IndexController@topic");//全部帖子
$router->post('topic_details', "IndexController@topic_details");//帖子详情
$router->post('topic_like', "IndexController@topic_like");//帖子点赞
$router->post('comment', "IndexController@comment");//帖子评论
//聚会
$router->post('party', "IndexController@party");//热门聚会
$router->post('party_details', "IndexController@party_details");//聚会详情
$router->post('add_party', "IndexController@add_party");//报名参加聚会
$router->post('collect', "IndexController@collect");//收藏聚会
$router->post('all_party', "IndexController@all_party");//全部聚会
//群组
$router->post('group', "GroupController@group");//群组展示
$router->post('add_group', "GroupController@add_group");//加入群组
$router->post('group_all', "GroupController@group_all");//分组下的活动与帖子
$router->post('add_activity', "GroupController@add_activity");//创建活动

//搜索
$router->post('search', "IndexController@search");

//个人中心
$router->post('user_group', "GroupController@user_group");//加入的分组
$router->post('collect', "GroupController@collect");//收藏
$router->post('found', "GroupController@found");//我的创建
$router->post('news', "GroupController@news");//我的创建
$router->post('delete_collect', "GroupController@delete_collect");//删除收藏
$router->post('delete_found', "GroupController@delete_found");//删除我的创建
$router->post('add_found', "GroupController@add_found");//创建分组
$router->post('edit_group', "GroupController@edit_group");//修改分组
$router->post('groupinfo', "GroupController@groupinfo");//分组的详情
$router->post('activity_details', "GroupController@activity_details");//活动的详情


//分类
$router->post('category', "GroupController@category");//分类展示

